Micron Document
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| SparkN0de-git | SparkN0de |
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


Commit a09792a11668067acc87673baa03d2585bf4638e


Parents : d79ec52
Author : Ivan <ivan@quad4.io>
Signature : Signature validation error
Date : 2026-05-02T09:26:12-05:00

chore(docker): add scripts for fetching and resolving Micron WASM binaries in Docker setup

Changes

4 files changed, 12 insertions(+), 0 deletions(-)


Diff

diff --git a/.dockerignore b/.dockerignore
index 86150d2d..99426071 100644
--- a/.dockerignore
+++ b/.dockerignore
@@ -105,6 +105,10 @@ test-results/
playwright-report/
blob-report/
+# Host-built micron WASM binaries (Docker/build fetch fresh copies)
+meshchatx/src/frontend/public/vendor/micron-parser-go/micron-parser-go.wasm
+meshchatx/src/frontend/public/vendor/micron-parser-go/wasm_exec.js
+
.hypothesis
.hypothesis/

diff --git a/.gitignore b/.gitignore
index 431dd184..2dc802f5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -117,6 +117,10 @@ blob-report/
meshchat-config/
+# micron-parser-go WASM (fetched at build via scripts/fetch-micron-wasm.mjs)
+meshchatx/src/frontend/public/vendor/micron-parser-go/micron-parser-go.wasm
+meshchatx/src/frontend/public/vendor/micron-parser-go/wasm_exec.js
+
.hypothesis
.hypothesis/

diff --git a/Dockerfile b/Dockerfile
index 149ebfb1..e5360383 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -19,6 +19,8 @@ WORKDIR /src
RUN apk add --no-cache git
COPY package.json pnpm-lock.yaml vite.config.js ./
COPY patches ./patches
+COPY scripts/fetch-micron-wasm.mjs scripts/fetch-micron-wasm.mjs
+COPY scripts/micron-wasm-resolve-bundled.mjs scripts/micron-wasm-resolve-bundled.mjs
COPY meshchatx/src/frontend ./meshchatx/src/frontend
RUN npm install -g pnpm@10.33.0 && \
pnpm config set verify-store-integrity true && \

diff --git a/Dockerfile.hardened b/Dockerfile.hardened
index dfc10a13..84b0a9ea 100644
--- a/Dockerfile.hardened
+++ b/Dockerfile.hardened
@@ -16,6 +16,8 @@ WORKDIR /src
RUN apk add --no-cache git
COPY package.json pnpm-lock.yaml vite.config.js ./
COPY patches ./patches
+COPY scripts/fetch-micron-wasm.mjs scripts/fetch-micron-wasm.mjs
+COPY scripts/micron-wasm-resolve-bundled.mjs scripts/micron-wasm-resolve-bundled.mjs
COPY meshchatx/src/frontend ./meshchatx/src/frontend
RUN npm install -g pnpm@10.33.0 && \
pnpm config set verify-store-integrity true && \


──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────